fix depends when <app> is missing or not a manifest