Solution of https://cdcvs.fnal.gov/redmine/issues/5014

pushd/popd added before/after the invocation of reconfig_glidein