Automatically init the base path if it doesn't exist