Support nested paths in git and path sources