SPR-9990: ensure split package detection runs only once