Syntax error: word unexpected when Running snapped command

Steps to Reproduce

  1. sudo snap install --edge bjarkan
  2. sudo bjarkan --help

Expected Results

usage: bjarkan [-h] [-j] COMMAND ...

Connect to specifed BT device

positional arguments:
  COMMAND
    pair             Pair a device (pairing will also connect)
    unpair           Unpair a device
    connect          Connect a new device
    disconnect       Disconnect a device
    paired-devices   Show all paired devices
    connected-devices
                     Show all connected devices
    scan             Show all currently known devices

optional arguments:
  -h, --help         show this help message and exit
  -j, --json         Change output format to json instead of plain text

Actual Results

/snap/bjarkan/52/usr/bin/python3: 1: /snap/bjarkan/52/usr/bin/python3: Syntax error: word unexpected (expecting ")")

Additional Notes

I can build and install using --devmode and all works fine. Also, I can make enough of a change so I can push and cause a build job to be spun up on snapcraft.io and the build could potentially work fine. This seems like a race condition or some sort of random bug when using the build system. (ie: build 49 works, but nothing after that does)