BUG-1342: fixed bug in resolving augments with target added by uses.

Change-Id: I6b822ffa31d20946cbb9323f6d4f73c86cb15dcb
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "BUG-1342: fixed bug in resolving augments with target added by uses."