would it make sense to array_merge $options and $oldOptions before setting it in rfs? just in case there are $oldOptions defined which are not overwritten with context-options?
and did you see http://getcomposer.org/doc/05-repositories.md#stream-options ?