Fix the brittle errorstring-to-httperror recognition code

This code is in turn required by autopull (the client issues a pull if container creation returns 404).