Limit choices when choosing a subproject.

Fix #341

Valid choices are the subprojects whose source directories
(including the sources of dependencies) contain the current buffer.