Revert "One too many parent directories in the cd step"

This reverts commit 4a738531fb6bf5e31503cf9d2acbf1fedd14d383.