[COOK-3178] Move everything to after the ports tree is extracted

If git is above the ports tree fetch/extract it will fail to install - moving it and build-essential (when it supports freebsd) to below that block