The code that removes the shebang produces an error if there is a step without a shebang.
The code that removes the shebang produces an error if there is a step without a shebang.