Unify composer options parsing

This PR aim to make options parsing in composer module more consistent with the way it is done in other modules. Each option is now parsed and inserted independently.

It follows a quick fix on check mode (#19).