Fix :prefix option propagation when top-level prefix is not set