fix old_path error

Signed-off-by: Eli <Eli@raspberry>