[katello 2.2.2 - Puppet] Validation failed: Name has already been taken

From the Foreman UI, Configure -> Environments, I import from the
localhost. I tick the box for the 'production' environment and the two
classes (one I imported, ntp, from puppetforge, and one I wrote), and the
UI says:

Warning!Validation failed: Name has already been taken

tail -f ./foreman/production.log

2015-07-08 12:00:47 [I] Processing by
EnvironmentsController#obsolete_and_new as HTML
2015-07-08 12:00:47 [I] Parameters: {"utf8"=>"✓",
"authenticity_token"=>"W8xco78b4VaSEbxrHGgRrLKcpM9KiEf8e7ETPfP8+eg=",
"changed"=>{"new"=>{"production"=>"{"ntp::service":{"new":{}},"ntp::install":{"new":{}},"ntp::config":{"new":{}},"ntp::params":{"new":{}},"ntp":{"new":{"logfile":"${$ntp::params::logfile}","package_manage":"${$ntp::params::package_manage}","service_manage":"${$ntp::params::service_manage}","iburst_enable":"${$ntp::params::iburst_enable}","keys_controlkey":"${$ntp::params::keys_controlkey}","peers":"${$ntp::params::peers}","leapfile":"${$ntp::params::leapfile}","keys_enable":"${$ntp::params::keys_enable}","preferred_servers":"${$ntp::params::preferred_servers}","keys_requestkey":"${$ntp::params::keys_requestkey}","service_enable":"${$ntp::params::service_enable}","service_ensure":"${$ntp::params::service_ensure}","config":"${$ntp::params::config}","config_template":"${$ntp::params::config_template}","keys_trusted":"${$ntp::params::keys_trusted}","minpoll":"${$ntp::params::minpoll}","package_ensure":"${$ntp::params::package_ensure}","disable_monitor":"${$ntp::params::disable_monitor}","panic":"${$ntp::params::panic}","servers":"${$ntp::params::servers}","broadcastclient":"${$ntp::params::broadcastclient}","tinker":"${$ntp::params::tinker}","udlc_stratum":"${$ntp::params::udlc_stratum}","autoupdate":"${$ntp::params::autoupdate}","driftfile":"${$ntp::params::driftfile}","stepout":"${$ntp::params::stepout}","keys_file":"${$ntp::params::keys_file}","disable_auth":"${$ntp::params::disable_auth}","fudge":"${$ntp::params::fudge}","maxpoll":"${$ntp::params::maxpoll}","package_name":"${$ntp::params::package_name}","restrict":"${$ntp::params::restrict}","interfaces":"${$ntp::params::interfaces}","service_name":"${$ntp::params::service_name}","udlc":"${$ntp::params::udlc}"}},"helloworld::motd":{"new":{}},"helloworld":{"new":{}}}"}},
"commit"=>"Update"}
2015-07-08 12:00:47 [W] Operation FAILED: Validation failed: Name has
already been taken
2015-07-08 12:00:47 [I] Rendered common/500.html.erb within
layouts/application (2.7ms)
2015-07-08 12:00:47 [I] Rendered layouts/base.html.erb (0.9ms)
2015-07-08 12:00:47 [I] Completed 500 Internal Server Error in 31ms (Views:
5.0ms | ActiveRecord: 5.1ms)

Is there somewhere else I should look? Help appreciated. Thanks.