[ptp] Update the PTP automated ranking lib v0.4.0

Check the current latest version of PTP: https://github.com/owtf/ptp/releases/tag/v0.4.0
[ptp] Update the automated ranking system call.

According to the current latest release of PTP
(https://github.com/owtf/ptp/releases/tag/v0.4.0), this commit update its
usage.