see https://github.com/purpleidea/mgmt/pull/256#issuecomment-346360414
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>