DDF-401: Added logic to find a common parent.

Used for edge case where an application may contain a dependency for a non-auto started feature in a parent application.