Only rename legacy maps if new ones don't exist, and delete legacy maps when renaming
Check that the given resource name exists in planet deposits