I solved it by giving up of using complete path for the configuration file. I still don't know why it doesn't work but I need to go ahead.
So, instead of putting the conf file in some conf directory I put it directly in the project root and reference it simply as './conf.yaml'. Not ideal, but works.