Added warning for empty repository