MooseFSTool: Fix of chained comparison in pwd generation script.