Seems like this else is in the wrong spot. We want the old behaviour only when not on windows, or when the shebang check fails. This has it only when the shebang check fails.