There needs to be a way to retrieve the correct minetest version, particularly for uses in external scripts and programs (In this case, a mod manager for minetest). I think a "minetest --version" option would be enough.
For that matter, how would you go about getting a mod's version as well? Standardizing a variable to do so, required for every mod to have somewhere? If not, then what would it take?
P.S. I remember fixing this exact post because of the bug, as usual. Maybe not :-/.