repo-parse: guard against empty attributes