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

...eferencing

@fosdev Please review and merge. 
How about adding something like: Check if a corresponding descriptor exists, or if a descriptor key, name, or href is misspelled.