fixed undefined variable to allow for -u bash option.
Merge pull request #5 from AlmirKadric/master

fixed bash -u option support in validation file