Resolve the symlink if __main__.py is invoke as a symlink.