Fix code path when using absolute binary path