Test if fugitive and tagbar are installed before using them in statusline