Bug fix for apkg import