Add error handling while checking home data source.