Added virutal Env check, added current path to config lookup
Fix for ticket #2401