Fix a problem where function_name_parts.first can be nil