title: Is the working directory of the dagster main process different of the scheduler processes
body: <p>I'm having an issue with the loading of a file from dagster code (setup, not pipelines). Say I have the following project structure:</p>
  
  <pre><code>pipelines
  -app/
  --environments
  ----schedules.yaml
  --repository.py
  --repository.yaml
  </code></pre>
  
  <p>When I run dagit while inside the project folder(<code>$cd project &amp;&amp; dagit -y app/repository.yaml</code>), this folder becomes the working dir and inside the <code>repository.py</code> I could load a file knowing the root is <code>project</code></p>
  
  <pre class="lang-py prettyprint-override"><code># repository.py
  
  with open('app/evironments/schedules.yaml', 'r'):
     # do something with the file
  </code></pre>
  
  <p>However, if I set up a schedule the pipelines in the project do not run. Checking the cron logs it seems the <code>open</code> line throws a file not found exception. I was wondering if this happens because the working directory is different when executing the cron.</p>
  
  <p>For context, I'm loading a config file with parameters of cron_schedules for each pipeline. Also, here's the tail of the stacktrace in my case:</p>
  
  <pre><code>  File "/home/user/.local/share/virtualenvs/pipelines-mfP13m0c/lib/python3.8/site-packages/dagster/core/definitions/handle.py", line 190, in from_yaml
      return LoaderEntrypoint.from_file_target(
    File "/home/user/.local/share/virtualenvs/pipelines-mfP13m0c/lib/python3.8/site-packages/dagster/core/definitions/handle.py", line 161, in from_file_target
      module = import_module_from_path(module_name, os.path.abspath(python_file))
    File "/home/user/.local/share/virtualenvs/pipelines-mfP13m0c/lib/python3.8/site-packages/dagster/seven/__init__.py", line 75, in import_module_from_path
      spec.loader.exec_module(module)
    File "&lt;frozen importlib._bootstrap_external&gt;", line 783, in exec_module
    File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed
    File "/home/user/pipelines/app/repository.py", line 28, in &lt;module&gt;
      schedule_builder = ScheduleBuilder(settings.CRON_PRESET, settings.ENV_DICT)
    File "/home/user/pipelines/app/schedules.py", line 12, in __init__
      self.cron_schedules = self._load_schedules_yaml()
    File "/home/user/pipelines/app/schedules.py", line 16, in _load_schedules_yaml
      with open(path) as f:
  FileNotFoundError: [Errno 2] No such file or directory: 'app/environments/schedules.yaml'
  </code></pre>