Simplified if-else construct

I simplified the nested if-else construct near lib/guard/nanoc.rb#46.