A module may not have a KotlinFacet. It isn't correct to throw an exception in that case. Original commit: 44b7a5cc36
44b7a5cc36