There's a closed pull request on the mblaze repository mcom: do not match shebang in needs_multipart() https://github.com/leahneukirchen/mblaze/pull/196 Description: Avoids matching lines like `#!/usr/bin/env sh`. Also require at least one character after `/`.