Remove unrequired pushd command from script