Docker inventory bugfix for potential traceback

Docker client occasionally returns a NoneType, so we have to catch the TypeError.  Fixes possible Traceback opportunity.