Hi,
I am using below code to run DBT Model from notebook.

I am using parameters to pass DBT run command(project directory, profile directory, schema name etc). The issue is, when I am running this code in my local workspace it is working fine but when I push this code to the workspace folder connected to git repository, the code does not works and throws exception "invalid path for profile" or "cannot find profile file".
When I try to read the profile.yml file in a dataframe from workspace folder connected to GIT, I am able to see the file contents. My question is why the DBT RUN command is not able to read the profile.yml file from the specified path.
Can anyone please suggest any workaround or solution to this.