Add dependency check on _root_command for sudo completion