BUG-886: Fixed concurency bug when multiple threads tried to compute package name.

Change-Id: Ifed593dc386124a596cc85e6aea512360a9d942b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
(cherry picked from commit 4b00187100c724c9698a5115e396f9266ec2fde6)
Merge "BUG-886: Fixed concurency bug when multiple threads tried to compute package name." into stable/hydrogen