Perhaps an easy fix is to untar the config first, then do the swap?