fix outgoing_links for stage/-dev (bug 1097975)