remove + from minor kernel version for kernels built from git

Some kernels have versions which look like this: ```3.9.5+```. Docker fails to parse these properly and prints a warning.

This PR adds a Trim operation on the string with the minor version of the kernel to remove the trailing + character.