Raise an exception when trying to resolve an origin pid input
Origin persistent identifiers are not publicly resolvable as they are not intrinsic.
So raise an exception to get a 400 error code in concerned endpoints.
Migrated from D2534 (view on Phabricator)