Fix performance for env scanning

Also scan for jobs in the absolute path