CB-6028: Protect against cyclic dependencies in install

Conflicts:
	src/install.js