Fix gadgethdf parttype catching

More specific KeyError catching (e.g., if the gadgethdf-name-mapping configuration is incorrect, it now catches the problem)