[minor] [fix] ignore permission check while removing file, if the referred document does not exist