Include malformed line in ValueError args

Actually tell the caller which entry we're unhappy about.