"^vim-" and "[-.]vim$" are removed from the checkout directory name.