Set workspace dir to os.tmp.dir
for virtual sources
#1771
Merged
os.tmp.dir
for virtual sources
#1771