remove extra slash from boot paths