Resolve the symlink if __main__.py is invoke as a symlink.
Merge branch 'resolve-symlinks'