better error messages for faulty nuspecs