Add check for missing .git directory
Update subrepositories to current versions
Force (partial) rebuild if installation prefix changes