fix location revision error for multi parent draft

PLAT-332
@adampalay @dmitchell 
Fix problem where a component has multiple parents (of which all other parents except original parent could be orphans) and when user tires to export the course with draft version of that component then "get_parent_location" method raises "AssertionError" for location revision of that component.