Fix for inventory scripts with no path prefix that are in CWD.

Without this, using '-i ec2.py' will not work if '.' is not in PATH.

OK, here's the updated commit with your feedback.