Move initial setting of $extNode out of the conditional

Change-Id: I3d13bfde15085d8c17ef41c6729bec2e9f8f84a2
Merge "Move initial setting of $extNode out of the conditional"