Fix for ansible#7330
Make checks work with older Docker version

ApiVersion isn't available on older Docker versions