Fixed a bug where new directories were created in the home directory,
not inside their rightful parent directories.