Throw when a repo fails to build

Fixes https://github.com/aspnet/Universe/issues/135

@pranavkm