[COOK-4028] zypper remove not working wiht OpenSuse 13.1

checking version for nil solves the problem
Add unit test for #1174
Merge pull request #1743 from juliandunn/suse-package-removal-failure

fix SuSE package removal failure