fixed bug use to_label not name in format_repos method for the enc
name can contain spaces and break the puppet yumrepo code.
Merge pull request #24 from abenari/repo-name

fixed bug use to_label not name in format_repos method for the enc