fixed wrong nil if nil is set to non-default value
Merge pull request #10 from wishbear/wrong_real_jboss_dir

fixed wrong nil if nil is set to non-default value