Do no generate empty prefix
Merge pull request #418 from r4um/fix_rpm_prefix

Do no generate empty prefix