Add an initial extension

Signed-off-by: Richard Hughes <richard@hughsie.com>
Do not spin in a loop when checking the workspace size