Only match first line if shebang line

Check that first line is actually a shebang line that starts with “#!”.