Fixed issue with depository not being set