I believe your warden will take them to the closest spot outside of your walls. Your kill box would be considered outside as it probably has an open path in it.
As PieTau suggested, you could try placing your prison closer to an alternative exit to your base.
As PieTau suggested, you could try placing your prison closer to an alternative exit to your base.