Unveiling hidden companions in post-common-envelope binaries: A robust strategy and uncertainty exploration