prevent crash when .dockercfg not readable

Fixes #1528 

Add warning and doesn't crash.