Catch error in mailharvest_get_harvest_codes() when content type has no settings yet.