fixes #2373 - only reference unattended subnet path when in unattended mode

(cherry picked from commit 754e83c1667ab7af677064f468354d325f59c36f)