fix problem happened when git replication is disable
Merge pull request #6 from QuickbridgeLtd/huy

Fix cookbook error when replication is not enabled