repo-pull: add strdup so that pointers are not lost, prevent assertion error