spacemanager: Fix precondition check for plpgsql language check

The previous expression would cause a failure as it didn't
return any rows if the language did not exist.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/6479/