Deal with empty repository