[oozie] Fix for a getPredecessor bug before forks