docker: use GIT_DIR and patch.
docker: cleanup completions.