[Config] Spec robustness
[Installer] Fix issue with subspecs and target dependencies

Closes #1170
Closes #1168