Fixes #7587
Makes deploymentID information uniform in distributed setup
It is required to set the environment variable in the case of distributed minio. LoadCredentials is used to notify peers of the change and will not work if environment variable is set. so, this function will never be called.