Add support for nested local dependencies