Fix bug parsing parameters with hypens

I was not properly processing parameters with hyphens in their name (i.e. volumes-from).