Fix behaviour of psq_assert_set.

Check for ${VARIABLE} instead of VARIABLE (the former will merely check if the
variable named VARIABLE instead of the actual variable name is set).

Also strip semicolons from error message.