Failed to deploy functions if project is located in subdirectory (with minimal example to reproduce)

I created a github issue. We can also discuss it there.