hey, my bad, Domain.get_module_by_name() actually returns None if there isn't one, so you have to handle that case.