KIDSPatchSequenceApply: fix dependency build checking

For non standard install name like "VBECS 1.0" in patch LR*5.2*382,
the dependency check should also query the install file if there is no
package history for such an install name.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-91
Change-Id: I740c22ba9e18e6aaae60a8183372543c94c8e1ea