Ensure that baseUri is never empty or null by adding a fallback