gio: Fix Null Pointer Access for object path.
If path is NULL, strrchr() can crash. Avoid using 2 variables (path & object_path) & handle assert at appropriate place.
Edited by Gaurav
If path is NULL, strrchr() can crash. Avoid using 2 variables (path & object_path) & handle assert at appropriate place.