Show defaulted version if phpversion() returns nothing, fixes #2313
Add local cache for Git repositories