Only append the version to the url if it exists