clone: fix attachment fetching