add option to supress 404 for head_object to make it possible to check if an object exists