main/multipath-tools: fixing the way to call functions

(cherry picked from commit 7944e5d3a403e68efffcef201d7e8abca5751fb5)