packaging: pythonlib: service: improvements

1. support with x as.

2. support random directory.

3. allow wrapped directory retrieval via property.

Change-Id: I1144a58d98760168ed24a93daae225ba769f42b7
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>