Fixed mason component root for custom stubs

The code is more complicate that it could be because we only use file custom subcomponent if the main stub is also custom. This has been done to maintain behaviour and ease of debugging. (Imagine the confusion if you only have a subcomponet in /etc/zentyal/stubs which makes fail the main stub and the log indicates that it fialed without mentioning custom stubs)