shell path needs to be correct for magit to work correctly. Otherwise you get an error. Unfortunately, this adds almost a second to boot time