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