EMM-730 Fix

The issue is caused when attempting to retrieve the next set of lifecycle actions (transition events) for assets that do not have a lifecycle.The fix involves checking if the asset has a lifecycle and a lifecycle state.

Steps to reproduce
------------------------
1. Create a mobile application in the Publisher
2. Navigate to the Carbon console
3. Navigate to the resource in the registry browser
4. Detach (Delete) the attached lifecycle by clicking on the delete button in the lifecycle UI
5. Navigate to the Publisher application