Merge "check if the env variable is valid or not before fetch_os_creds"