Fixing error messages when using dockercfg setting