Fix weird bootstrap issue, use canonical hostname when in release mode