speed up installing hooks and patchsets, update #2634
remove unneeded ensure_scripts_are_executable, update #2634
remove duplicated creating user configuation dir, udate #2634