rollbach changes against loading userpanel out of the box and make it by adding directories.userpanel_dir variable to database installation procedure.
fix hook - it is returing hook_data not only $error