Revert "Revert Revert 'Revert port allocation for boot with port compatibility' what the hell?"

This reverts commit ae61abec9f73a9ee197f69ab64d165c13d33ae87.
Sheepdog image backend