the checkAndRefreshGit() call later in the constructor will already handle this (cherry picked from commit f6867ae8)