Fix case when install_dir does not exists