Do not trigger pants goal compile if there is no dirty files.

Testing Done:
Tests + manually.

Reviewed at https://rbcommons.com/s/twitter/r/1492/