Removing set pipefail because it didn't work under python system call