Fix inaccurate 'internal server error' message

This happened when all 3 conditions were met:
  1) no app was specified
  2) no app could be inferred
  3) app::db shorthand was not used
use lowercase help strings in pg