Fix a wrong path when fetching avatars from CLI