Fixes: #2563 correct the way we manage pgsql and mysql dependancies on packages