Ensure the desitination exists when building openlayers