[BUGFIX] Correct comparison of NULL/FALSE DB query return
[TASK] Update Travis script to use new reusable helpers