make version default to null (i.e. absent and autodetect)