[CommitsLOCDet] Fix error calling MySQLdb 'execute' method

Some versions of MySQLdb require to pass a sequence or a map
in 'execute' method.