Fixing the bash error fallback leading to run test-local when test-remote fails.