t/am: use test_path_is_missing() where appropriate