CLOUDSTACK-7506: Fix base library to read hypevisor value from dictionary as opposed to only from function parameter

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>