Docker client occasionally returns a NoneType, so we have to catch the TypeError
Merge pull request #7280 from angstwad/docker_inv_fix

Docker inventory bugfix for potential traceback