fixed a bug with uniqueid's

When specifying -q to update the unique_id the repository backup path wasn't getting set to include the new unique ID unless you also used the -d option. 

Now, you can use -q to set a unique ID and leave -d as the default if you wish.