Fix ggtags-mode behaviour in command layer.