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

This reverts commit d630ba5a1b14d13cf9802f2eb3a8b8c52c72d904.