Remove build id from path.