[#1241] Raise CkanVersionException properly
Merge branch '1241-fix-CkanVersionException'