Nuke loadpath flattening

cc @bouk