When using git-driven deployment, we currently detect the runtime at build time.
We need to detect the runtime when the repository is selected to improve build command automatic configuration.