grid/utils: Improve parsing of instance's python
The path of the python executable used by an instance was parsed from the shebang of its software release's bin/buildout. But when the path is too long, the shebang is just /bin/sh
and the script starts with exec <python>
.