fix bug that no such method happend

Signed-off-by: Wenzhao <wzhfang@marvell.com>
make sure an Application can be found after injection

Signed-off-by: Wenzhao <wzhfang@marvell.com>