This utility was added in9b83d5bbf9, but was never used. Remove the utility, and rewrite the error returned to implement the errdefs.NotFound interface, so that it can be detected using the errdefs.IsNotFound() utility if needed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit3c78ac2aad) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>