Moved File.exists check into the bash block as an only_if proc.