Escape getCurrentPose/RPY errors that happen with compatibility test with older hrpsys.

Fix to #302.
@k-okada for the review.