WL-3614 Make sure we don't build with a dirty working copy