bin/java-add-fallback: fix an error when running in the wrong dir (not code, but db)

Signed-off-by: Bao Haojun <baohaojun@gmail.com>