Simplifying script a little, by avoiding pushd/popd. This seems to fix running on jenkins.

Summary:

Test Plan:

Reviewers:

Subscribers:
Merge branch 'PTFM-13510-deepdirs-fix' of github.com:dnanexus/dx-toolkit into PTFM-13510-deepdirs-fix