Disallowed portable mode to change directories.

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>