Fixed: Replacing current package with its parent before the recursive
call.