fix `src test` by reimplementing symlink dereferencing
`src push -C` option to chdir