`path.join` arguments must be strings, give a default value to avoid exception is thrown.