check if the asset params are set

otherwise creating the asset page will fail
Merge pull request #111 from azul/bugfix/fix-crash-in-asset-page-creation

check if the asset params are set