I think it would be a good idea to mitigate this by failing the build when there's no version information, so at least the error doesn't show up somewhere downstream in a weird way and suck up dev time.