Fix exists() value for empty URLs