fix problem with multiple release folders

This only occurs in broken/dirty install folders.