[python] os.path.dirname(__file__) returns empty