Make sure the docker data has a "Names" field before using it

Fixes #7363