dependency generation add an extra depth

This is needed to search higher when a custom distribution is being used.