${foo:-bar} should only report 'bar' when $foo is the empty string, not for nil $foo.