Backport sys.flavor test from Edward Welbourne
 * https://github.com/Webhuis/Cfengine-debian/issues/24
Merge pull request #52 from basvandervlies/fix_sys_flavor_test

Backport sys.flavor test from Edward Welbourne