message: Updated the envVar checking logic.
diff: @@ -18,14 +18,13 @@ import { query, prepare } from '../../util/db';
  // Get project's env vars
  var envVars = await query(sqlClient, `SELECT * FROM env_vars WHERE project='${project.id}';`);
  var hasVars = false;
  - if (envVars != null) {
  +
  // Check for Harbor variables
  for (var j = 0; j < envVars.length; j++) {
  if (envVars[j].name == "INTERNAL_REGISTRY_PASSWORD") {
  hasVars = true;
  }
  };
  - };
  if (! hasVars) {
  await harborClient.addProject(project.name, project.id);
  