diff: add test for --no-index executed outside repo