Guard against proj.Backend being nil
@@ -115,8 +115,10 @@ func GetCurrentCloudURL() (string, error) {
return "", errors.Wrap(err, "could not load current project")
}
+ if proj.Backend != nil {
url = proj.Backend.URL
}
+ }
if url == "" {
creds, err := GetStoredCredentials()
