Only set live target if there is a target to set

Fixes: 166143722
Change-Id: I10c5bf384f6cee02cc55c035647911672f638e48
1 file changed