BZ-1007437 - Importing mavenized jar with parent pom specified is not handled correctly

(cherry picked from commit 7ba5d405019e25affa146c9bab1cccad9f05565f)