Fixes api generator to work if the site destination does not exist