resolve_persistent_identifier: Raise an exception for origin pid input
Origin persistent identifiers are not publicly resolvable as they are not intrinsic
and for internal usage only.
So raise an exception to get a 400 error code in concerned endpoints.