RPi4 - pathsubstitution problem