BF: to create a function to compare against target branch we need a 'closure'
BF: to create a function to compare against target branch we need a 'closure'

Use nested function to get an effect of closure.  Should fix builds not running
for fail2ban

arokem/nibotmi,nipy/nibotmi,arokem/nibotmi,nipy/nibotmi