Followup to e37fb3042d, in some cases we cannot get git information for the plugin folder (e.g. permission issues), so we need to only try and get information about it if commit_hash is present.
e37fb3042d
spec/*