Fixed string comparison in nightly script