fixes #6660 - create rpm-state if missing
Merge pull request #297 from domcleal/rpm/develop-6660-rpm-state

fixes #6660 - create rpm-state if missing