Fixes #7580 - wrap newer code in checks for older foreman versions
Release 1.4.0 rc3