Teaching gradle how to backflip in case BUILD_NUMBER is undef.