Fixed issue with trying to create directory as a system user