Removing isfile check on image uri because that only works for local filesystem files.  Delete image works now.