setPath: Omit the last set for temporary variable

....