Bug 1170545 - Error about deployment not found

@mfojtik pls review