prevents 'circular deps' exception when invalid deps are specified