Enhancement #100

Function isValidMagentoUrl should be protected because of the condition
and the storing previous function result system to prevent the function
to be called from outside.