Fix check symlink to allow symlink to py module