Fix for invalid updates path in some situations, fixes #224