Fix dependencies when there is an empty configuration