Fix HEAD request to check for presence of object on s3