Project: restore API that is used by bndtools

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>