Add temporary hack to make teleport work with global Cosmos context