We need to surround the code at https://github.com/voxpupuli/beaker_puppet_helpers/blob/75307d38b31d1c6b688bf9753062380d952949ee/lib/beaker_puppet_helpers/install_utils.rb#L55 with a check to ensure the key being evaluated actually exists in the REPOS hash and raise an error if it does not.