Fixed Git error when empty repository is opened for the first time.