Make sure the output dirs are the first thing we check.