Fixes crash on general settings page when git output is none