Fix for null pointer bug in method script_mapping parsing.