[BUG] Link target for export function contains wrong leading slash

Fix for leading slash