Use dirname instead of an POST_RECEIVE_TRAC environment variable.
drwxr-xr-x - client
drwxr-xr-x - scripts
drwxr-xr-x - server
drwxr-xr-x - tests