pkg/system: update volumePath regex to allow returning earlier
pkg/system: update volumePath regex to allow returning earlier

The regex only matched volume paths without a trailing path-separator. In cases
where a path would be passed with a trailing path-separator, it would depend on
further code in mkdirall to strip the trailing slash, then to perform the regex
again in the next iteration.

While regexes aren't ideal, we're already executing this one, so we may as well
use it to match those situations as well (instead of executing it twice), to
allow us to return early.

Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

thaJeztah/docker,jimjag/docker,mahak/docker,Ramzec/docker,Ramzec/docker,konstruktoid/docker-upstream,mahak/docker,mahak/docker,thaJeztah/docker,Mokolea/docker,jimjag/docker,trebonian/docker,moby/moby,mahak/docker,trebonian/docker,Mokolea/docker,konstruktoid/docker-upstream,thaJeztah/docker,moby/moby,Mokolea/docker,konstruktoid/docker-upstream,Ramzec/docker,Ramzec/docker,moby/moby,trebonian/docker,konstruktoid/docker-upstream,trebonian/docker,Mokolea/docker,moby/moby,jimjag/docker,thaJeztah/docker,jimjag/docker