     repo = github.getRepo repoName
     repo.listPullRequests {state: 'open', head: "galtx-centex:#{head}"}
     .then (res) ->
-      resolve res[0] ? null
+      console.log "PR list #{res} #{res[0]?}"
+      reject "PR testing"
     .catch (err) ->
       reject "PR #{err}"
 

    repo.getReference "origin/#{branch}"
    .then (reference) ->
      ref = reference
      repo.checkoutRef ref
    .then () ->
      resolve ref

      repo.createBranch name, head, true
    .then (reference) ->
      ref = reference
      console.log "branch checkout #{ref}"
      repo.checkoutBranch ref
    .then ->
      resolve ref
