Fix deploy file installation in non-development mode.