Minor fixes for making planex work locally

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #22 from jonludlam/local-fixes

Staging fixes for planex