improve the matching pattern

The path can change depending on the OS / whether you use MySQL /
MariaDB