Fix crash on `work on` tab completion.