Deal with empty repo on first call