Check $success value for false. The install_style method returns null on success.
Fix issue with component .cfg files not being parsed.