Make one error message slightly more useful

The exception did not include the filename making it difficult to identify which package the error referred to.