try and get the working directory from teamcity env vars