commit: Fix completion with extra reference