Path not correctly set when including files from repo

It looks like we're not properly setting a path variable when using the markdown include syntax to include a file from a non-wiki repository. We keep getting the "Error including" message.

See #195798 (comment 2228292093) and slack comment

Edited by Brett Walker