system.getDetails() doesn't include release string, so there is no way to tell what release a system is without doing some magic (looking at kernel version, etc..)
fixed in commit: 028f3340617b963151ed00451c568bf0566238e1
Verfied. system.getDetails() returns release like 'release': '5Server'. ~SayliK
Verified in stage -> RELEASE_PENDING
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html