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