Instead of relying on `Dir[]` here, let's make it explicit (`if build.head? ...`)