Fix '--with-transfer' logic