docs: function resolveURI(uri) {
                              if (uri && uri.name) {
                                  reject(new Error("An error occured while trying to fetch '" + selector.package + "' from the GitLab repository."));
                                  return;
                              }
                              else if (!uri && !tagErr) {
                                  reject(new Error("Couldn't find any suitable tag for package '" + selector.package + "' in the GitLab repository."));
                                  return;
                              }
                              else if (!uri && tagErr) {
                                  if (!tag) {
                                      reject(new Error("Downloading of package '" + selector.package + "' from GitLab failed. If you are running this in a browser, CORS might be the problem."));
                                  }
                                  return;
                              }
                              try {
                                  selector.uri = uri;
                                  resolve({"strip": 1, "headers" : headers});
                              }
                              catch (e) {
                                  reject(e);
                              }
                          }