[scripts] fix PWD