Minor fixes for making planex work locally

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>