Fixing postgres checks on main menu
Fixing mispelled postgres variable name
Adding hack for F17 postgres recognition - to be tested on F17