Principal eigenvalue, maximum principles and linear stability for nonlocal diffusion equations in metric measure spaces. (August 2022)