Prevent evaluating g:colors_name when undefined

If Vim is unable to set colorscheme, it will not set g:colors_name so
its presence cannot be assumed.