modify the conditional branch on config.rb

I refer to your source code and found small bug.
I would appreciate if you accept my request.
Thank you.