Fix a an error when using bash.ini

One branch of logic was using return values incorrectly
Discovered in #58