Check for push manager instance before trying to use it

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>