raising error when no descriptor element is found in registry during der...

...eferencing

@fosdev Please review and merge. 
raises an error when a corresponding descriptor is not found