config: Make sure the local config is committed

Do not proceed further with config loading in case the local
configuration file has some uncommitted changes. This is to prevent
people from changing the local config file and forgetting to commit.

Change-Id: 665647b5e1
Story-Id: SF-14