Fix Package manager's mod lists

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Fix SQL error in MySQL upgrade

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #1700 from Dragooon/quick-fix

A couple of quick fixes