Correct search of name virtual machines in list

In the functions is_vm_running() and is_vm_present(), located in the
file function/vm.sh, search of running and available virtual machines
has been fixed. The search of the names virtual machines
extrafuel-master and extrafuel-slave-1 didn't work correctly.

Change-Id: If73546e5b4b2a8a64f0b955f85579ee0dafd93f0
Closes-Bug: #1387602
Merge "Correct search of name virtual machines in list"