Fix format error when program does not exist