[rhel6-branch][PATCH] Fix a traceback with multipath & custom part