Throw a more informative error when failing to validate sources.