gitignore: add vimdir
Fix empty bl/wl detection

Splitting an emtpy string in Python results in [''], which is not the empty
list. Weed those elements out.