Prevent importing apkg file when copying error