diff --git a/lib/api/github.js b/lib/api/github.js
index e9a3302c5199a0896b7a503edd51be6a98dcb355..ed1a9efba12f8dce9de3aa274ddf94301125d009 100644
--- a/lib/api/github.js
+++ b/lib/api/github.js
@@ -423,7 +423,7 @@ async function getFile(filePath, branchName = config.defaultBranch) {
   return res.body.content;
 }
 
-async function getFileContent(filePath, branchName = config.baseBranch) {
+async function getFileContent(filePath, branchName = config.defaultBranch) {
   try {
     const file = await getFile(filePath, branchName);
     return new Buffer(file, 'base64').toString();
@@ -437,7 +437,7 @@ async function getFileContent(filePath, branchName = config.baseBranch) {
   }
 }
 
-async function getFileJson(filePath, branchName = config.baseBranch) {
+async function getFileJson(filePath, branchName = config.defaultBranch) {
   let fileJson = null;
   try {
     fileJson = JSON.parse(await getFileContent(filePath, branchName));