Restore leading slash in checking the joystick path.

This was removed by mistake in an earlier commit.