In `check_module_name' catch exceptions from `atom_to_list'