Add more output to the pre-check to help in analysis some strange build-failures in CI, e.g. INFRA-15244