Take codebase in consideration when doing a 'copy' or 'export' checkout.