fix the asset() by checking if parameter isset
add register the package (for the config files) in the Service Provider.

This will fix the reading of the config file form the framework
not the package