Remove locals() from virt directory

fixes bug 1171936

Change-Id: Id91f2fd516f57970d3af59c1bae6e8da46c5482c
Merge "Remove locals() from virt directory"