raise error when ENV['SERVICE_NAMES'] is undefined