improv: `$INSTALL_DIR` variable definition
fix: fix the condition checking the existence of the bundle directory