Make fetch/extract phases also support cross profiles (reported by Gottox).