Retrieve automatically the deployment name from the master instead of having it read from a config file