bash - Remove reference to symlink