Allow get_module_choices to fail in development

This is required for the tests to run in travis.