Fix bug causing mysqldump to fail
Merge pull request #2786 from dirkcuys/patch-1

Fix bug causing mysqldump to fail