Fix depDeps/runtimeDeps detection