REVIEW: [NEXUS-6549] .* is too greedy, change first match group to use [^/]*

https://issues.sonatype.org/browse/NEXUS-6549