try and get the working directory from teamcity env vars

my colleague and I have a further improvement from this morning's request...