fix regression preventing usage of fragment ensure => /target syntax

Also fix a historical bug that prevents a fragment from being converted
from a symlink to using a source or content parameter.