Fix for dep installed from the cli not being added to component.json (#465).