[obs-commits] [PATCH] [api] Fix commit 8af9795, 'path' local variable needs broader scope.