Prevent project.config corruption when plugin name is invalid

If a plugin name is not sane (i. e. contains characters, that are not compatible
to git config file), then all capabilities from that plugin are dropped and can
not be granted.

Change-Id: I8bcad28c5ed92a44e2761169b6b70c38d949bf70
1 file changed